Optimal. Leaf size=48 \[ \frac {b x}{4 c d}+\frac {x^2}{4 d}-\frac {\left (b^2-4 a c\right ) \log (b+2 c x)}{8 c^2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.045, Rules used = {697}
\begin {gather*} -\frac {\left (b^2-4 a c\right ) \log (b+2 c x)}{8 c^2 d}+\frac {b x}{4 c d}+\frac {x^2}{4 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 697
Rubi steps
\begin {align*} \int \frac {a+b x+c x^2}{b d+2 c d x} \, dx &=\int \left (\frac {b}{4 c d}+\frac {x}{2 d}+\frac {-b^2+4 a c}{4 c d (b+2 c x)}\right ) \, dx\\ &=\frac {b x}{4 c d}+\frac {x^2}{4 d}-\frac {\left (b^2-4 a c\right ) \log (b+2 c x)}{8 c^2 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 37, normalized size = 0.77 \begin {gather*} \frac {2 c x (b+c x)-\left (b^2-4 a c\right ) \log (b+2 c x)}{8 c^2 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.44, size = 42, normalized size = 0.88
method | result | size |
default | \(\frac {\frac {c \,x^{2}+b x}{4 c}+\frac {\left (4 a c -b^{2}\right ) \ln \left (2 c x +b \right )}{8 c^{2}}}{d}\) | \(42\) |
norman | \(\frac {x^{2}}{4 d}+\frac {b x}{4 c d}+\frac {\left (4 a c -b^{2}\right ) \ln \left (2 c x +b \right )}{8 c^{2} d}\) | \(45\) |
risch | \(\frac {x^{2}}{4 d}+\frac {b x}{4 c d}+\frac {\ln \left (2 c x +b \right ) a}{2 c d}-\frac {\ln \left (2 c x +b \right ) b^{2}}{8 c^{2} d}\) | \(54\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.27, size = 41, normalized size = 0.85 \begin {gather*} \frac {c x^{2} + b x}{4 \, c d} - \frac {{\left (b^{2} - 4 \, a c\right )} \log \left (2 \, c x + b\right )}{8 \, c^{2} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.37, size = 39, normalized size = 0.81 \begin {gather*} \frac {2 \, c^{2} x^{2} + 2 \, b c x - {\left (b^{2} - 4 \, a c\right )} \log \left (2 \, c x + b\right )}{8 \, c^{2} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.09, size = 37, normalized size = 0.77 \begin {gather*} \frac {b x}{4 c d} + \frac {x^{2}}{4 d} + \frac {\left (4 a c - b^{2}\right ) \log {\left (b + 2 c x \right )}}{8 c^{2} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.06, size = 47, normalized size = 0.98 \begin {gather*} -\frac {{\left (b^{2} - 4 \, a c\right )} \log \left ({\left | 2 \, c x + b \right |}\right )}{8 \, c^{2} d} + \frac {c^{2} d x^{2} + b c d x}{4 \, c^{2} d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.44, size = 44, normalized size = 0.92 \begin {gather*} \frac {x^2}{4\,d}+\frac {b\,x}{4\,c\,d}+\frac {\ln \left (b+2\,c\,x\right )\,\left (4\,a\,c-b^2\right )}{8\,c^2\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________